﻿@using System.Globalization
@using System
@using Euroland.Azure.Shared.ClientResource;
@using ToolsFramework;
@using ToolsFramework.Mvc;
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>Website sharing videos, photos, documentations, pressrelease, financial statements</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/calendar")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <header></header>
    <div id="body">
        @RenderSection("featured", required: false)
        <section class="content-wrapper main-content clear-fix">
            <div id="Main">
                <div id="ControlsContainer">
                    @RenderBody()
                </div>
            </div>
        </section>
        <button class="scrollup" style="display: block;"><a href="javascript:;"></a> </button>
    </div>
    <footer>
        <div class="footer">
            <div class="footer-head">
                <div class="footer-head-wrapper">
                    <div class="title-footer">Subscribe us!</div>
                    <div class="newsletter">
                        <div class="block-newsletter">
                            <div class="title">
                                Newsletter
                            </div>

                            <div class="listbox">
                                <div id="newsletter-subscribe-block" class="newsletter-subscribe-block">
                                    <div class="newsletter-email">
                                        <input id="newsletter-email" name="NewsletterEmail" type="text" value="" placeholder="Sign up for our newsletter">
                                        <span class="field-validation-valid" data-valmsg-for="NewsletterEmail" data-valmsg-replace="true"></span>
                                    </div>
                                    <div class="buttons">
                                        <input type="button" value="Subscribe" id="newsletter-subscribe-button" class="button-1 newsletter-subscribe-button">
                                        <span id="subscribe-loading-progress" style="display: none;" class="please-wait">Wait...</span>
                                    </div>
                                </div>
                                <div id="newsletter-result-block" class="newsletter-result-block">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="footer-poweredby">
                Designed by Nam. Powered by Southern

            </div>
            <div class="footer-disclaimer">
                Copyright © 2014 nam.com. All rights reserved.
            </div>
        </div>
    </footer>
    <div id="facebox-like-box">
        <img id="fb-plugin-button" class="fb-button" src="@Url.Content("~/Content/images/bl_fb.png")" alt="MMDB on facebook" />
        <div id="fb" style="right: -300px;">
            <div id="fb-plugin-content">
                <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fnongsansachhanoi&amp;width=292&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=true" scrolling="no" frameborder="0" style="border: none; overflow: hidden; width: 292px; height: 290px;" allowtransparency="true"></iframe>
            </div>
        </div>
    </div>
    <div id="social-network">
        <ul>

            <li><a href="https://www.facebook.com/" target="_blank">
                <img src="@Url.Content("~/Content/icons/default/facebook.png")"></a>
            </li>

            <li><a href="http://www.linkedin.com/" target="_blank">
                <img src="@Url.Content("~/Content/icons/default/linkedin.jpg")"></a>
            </li>
            <li><a href="http://twitter.com/" target="_blank">
                <img src="@Url.Content("~/Content/icons/default/twitter.png")"></a>
            </li>
            <li><a href="https://plus.google.com/" target="_blank">
                <img src="@Url.Content("~/Content/icons/default/google.png")"></a>
            </li>
            <li><a href="mailto:webmaster@yahoo.com?Subject=Hi!">
                <img src="@Url.Content("~/Content/icons/default/email.png")"></a>
            </li>
            <li><a href="https://www.youtube.com/">
                <img src="@Url.Content("~/Content/icons/default/youtube.jpg")"></a>
            </li>
            <li><a href="javascript:window.print()">
                <img src="@Url.Content("~/Content/icons/default/print-icon.png")"></a>
            </li>

        </ul>
    </div>
    <script type="text/javascript">
        var baseUri = '@Url.Content("~/")';
    </script>
    @Scripts.Render("~/bundles/jquery162")
    @Scripts.Render("~/bundles/extention")
    @Scripts.Render("~/bundles/highchart")
    @Scripts.Render("~/bundles/tool")
    @Scripts.Render("~/bundles/calendar")
    @Scripts.Render("~/bundles/buttonobject")
    @Scripts.Render("~/bundles/hintobject")
    @Scripts.Render("~/bundles/calendarobject")
    @Scripts.Render("~/bundles/loader")
    @Scripts.Render("~/bundles/minorobject")
    @Scripts.Render("~/bundles/page")
    @Scripts.Render("~/bundles/pressreleaseitemobject")
    @Scripts.Render("~/bundles/news")
    @Scripts.Render("~/bundles/search")
    @Scripts.Render("~/bundles/typeobject")
    @Scripts.Render("~/bundles/utility")
    @RenderSection("scripts", required: false)
    @{ Html.JsLanguagePack(CultureInfo.CurrentCulture); }
    @{
        CultureInfo cul = new CultureInfo("vi-VN", false);
    }
    <script type="text/javascript">
        var baseUri = '@Url.Content("~/")';
        var True = true,
            False = false;
        ButtonObject.prototype.Settings = {
            minScale : 0.80
        ,time : 300
        ,maxWidth : 30
        ,maxHeight : 30
        };
        var IS_SEC = False;
        SearchObject.prototype.defaultSearchText = "Keyword";

        PressReleaseItemObejct.prototype.quickMessageHeight = 300;
        PressReleaseItemObejct.prototype.quickMessageDelay = 500;
        PressReleaseItemObejct.prototype.hasQuickMessage = True;
        PressReleaseItemObejct.prototype.useOthersGroupText = False;
        PressReleaseItemObejct.prototype.quickMessageMinimumDisplayWidth = 580;
        PressReleaseItemObejct.prototype.strQuickMessageReadMoreText = "Read more";
        PressReleaseItemObejct.prototype.columnClassNamePrefex = "NoChange-";
        PressReleaseItemObejct.prototype.useLocalAttachments = True;
        PressReleaseItemObejct.prototype.areAttachmentsFirst = True;
        $.extend(Settings, {
            dateFormat: '@Html.Raw(cul.DateTimeFormat.ShortDatePattern)',
            Calendar:{
                calendarFormat:'@Html.Raw(OLAP.Common.ClientSetting.ConvertDatePatternFromNET2PHP(CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern))',
                intMaxDate: @DateTime.Now.ToString("yyyyMMdd"),
                intMinDate: @DateTime.Now.AddYears(-1).ToString("yyyyMMdd"),
                isEnabled: true,
                strFrom: '@Html.Raw("From")',
                strTo: '@Html.Raw("To")'
            }
        });

    </script>
</body>
</html>
